package com.ct.boss.demo.dao;

import com.ct.boss.demo.model.Menus;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author ChenTong
 * @version 1.0
 * @description 菜单数据库操作接口
 * @date 2020/6/16 21:59
 * @modified
 **/
@Repository
public interface SysMenuMapper {

    List<Menus> selectAll();

    List<Menus> selectChildren(@Param("id") Long id);


}